import request from '@/utils/request'
//所有跟login相关的异步请求
//登录
export function login(data) {
    return request({
      url: '/login',
      method: 'post',
      data
    })
  }